package com.jcl.recruit.api.crawler.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName CrawlerResumeController

 * @Author yyliu
 * @Date 2018/10/22 10:28
 * @Version 1.0
 **/
@RestController
@RequestMapping("/api/crawler")
public class CrawlerResumeController {

    /*@Autowired
    private CrawlerResumeBaseService crawlerResumeBaseService;

    @RequestMapping(value = "/searchresume/save",method = RequestMethod.POST,produces = "application/json;charset=utf-8")
    public ApiResponse searchResumeSave(@RequestBody Map<String,String> entity){
        ApiResponse response = new ApiResponse();
        SearchResume searchResume = crawlerResumeBaseService.exportSearchResume(entity);
        response.setMsg("操作成功");
        response.setData(searchResume);
        return response;
    }

    @RequestMapping(value = "/searchresume/worksave",method = RequestMethod.POST)
    public ApiResponse searchResumeWorkSave(@RequestBody Map<String,String> entity){
        ApiResponse response = new ApiResponse();
        crawlerResumeBaseService.exportSearchResumeWork(entity);
        response.setMsg("操作成功");
        return response;
    }

    @RequestMapping(value = "/searchresume/edusave",method = RequestMethod.POST)
    public ApiResponse searchResumeEduSave(@RequestBody Map<String,String> entity){
        ApiResponse response = new ApiResponse();
        crawlerResumeBaseService.exportSearchresumeEdu(entity);
        response.setMsg("操作成功");
        return response;
    }

    @RequestMapping(value = "/searchresume/projectsave",method = RequestMethod.POST)
    public ApiResponse searchResumeProjectSave(@RequestBody Map<String,String> entity){
        ApiResponse response = new ApiResponse();
        crawlerResumeBaseService.exportSearchResumeProject(entity);
        response.setMsg("操作成功");
        return response;
    }*/


}
